<?php


class Request_Api_V2_Payqrcode extends Request_Api_V2_Base
{
    public function __construct($request_param)
    {
        parent::__construct($request_param);

    }

    /**
     * 获取付款码信息
     * @return $this
     * User: netman
     * Date: 2023/11/28 9:29
     */
    public function get_payqrcode_info()
    {
        $this->rules = [
            ['pay_qrcode_id', ['not_empty', 'digit', $this->rule_min(1)]]
        ];

        return $this;
    }

    /*
     * 创建订单
     */
    public function create_order()
    {
        $this->rules = [
            ['price', ['numeric']],
            ['pay_qrcode_id', ['digit', $this->rule_min(1)]],
        ];

        return $this;
    }





}